package com.hspedu.transformation;

import java.io.*;

/**
 * @author 谷其昊
 * @version 1.0
 * @date 2022/2/25
 * @time 16:13
 */
public class OutputStreamWriter_ {
    public static void main(String[] args) throws IOException {
        BufferedWriter bufferedWriter = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("D:\\BaiduNetdiskDownload\\韩顺平2021基础学Java\\temp\\note2.txt"),"UTF-8"));
        bufferedWriter.write("韩顺平教育Edu");

        if (bufferedWriter != null){
            bufferedWriter.close();
        }
    }
}
